package com.rgs.gateway.web.service.impl;

import com.rgs.gateway.admin.feignclient.client.GatewayAdminFeignClient;
import com.rgs.gateway.common.pojo.Result;
import com.rgs.gateway.web.service.IGatewayRouteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author RenGaoshuai
 * @date 2024/6/28 11:24
 * @description 路由信息
 */
@Service
public class GatewayRouteServiceImpl implements IGatewayRouteService {
    @Autowired
    private GatewayAdminFeignClient gatewayAdminFeignClient;

    @Override
    public boolean overload() {
        Result overload = gatewayAdminFeignClient.overload();
        return overload.isSuccess();
    }
}
